<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- 分页 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="<c:url value='/jquery/jquery.js'/>"></script>
<link  rel="stylesheet"  href="/ajaxweb_mybatis/a.css">
<script type="text/javascript" src="<c:url value='./jquery/customer.js'/>"></script>
<script type="text/javascript">

  $(function(){
	  init();
	  $("#btnSerach").click(function(){
			 init();
		 })
  })  
  

</script>
</head>

<body>

    <form id="myform">
    <!-- 隐藏字段 -->
    <input type="hidden" name="method" value="getCustomerByPage"/>
    <input type="hidden" name="pageIndex" id="pageIndex"/><br/>
	      姓名：<input type="text" name="cname"/><br/>
	      性别：<select name="gender">请选择<br/>
	      
	     <option value="">请选择</option>
	         
	         <option value="男" >男</option>
	         
	         <option value="女">女</option>
	
      </select><br/>
	       电话：<input type="text" name="cellphone" /><br/>
	       邮箱：<input type="text" name="email" /><br/>
	       生日：<input type="text" name="birthday" /><br/>
	    <input type="button" value="查询" id="btnSerach"/>  
    </form>
    
	<table id="tbCustomer">
		<tr>
			<td>姓名</td>
			<td>性别</td>
			<td>出生日期</td>
			<td>电话</td>
			<td>邮箱</td>
			<td>描述信息</td>
			<td>操作</td>
		</tr>
	</table>
	
	<div id="divPager"></div>
</body>
</html>